<?php
/**
 * Clase FN para MrpRecetaDetalleFN
 *
 * @package    
 * @subpackage MrpRecetaDetalleFN
 * @author     Hans
 * @version    SVN:: MrpRecetaDetalleFN.class.php,v 1.1 2012-03-07 02:02:33 hans.parra Exp $
 */
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/common/conexion.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/mrp/recetas/BFN/BaseMrpRecetaDetalleFN.class.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/im/articulos/FN/ImArticuloFN.class.php');
class MrpRecetaDetalleFN extends BaseMrpRecetaDetalleFN
{
	
	public function  selectRecetaItemDetalle()
	{
		$o_MrpRecetaDetalleFN = $this->select();
		if($o_MrpRecetaDetalleFN)
		{
			foreach ($o_MrpRecetaDetalleFN as $key => $obj)
			{
				/*detalle de Articulo*/
				$o_ImArticuloFN = new ImArticuloFN();
				$o_ImArticuloFN->setArticuloId($obj->getRcdInsumoId());
				$obj->set_oDetalleItemBean($o_ImArticuloFN->selectByPK());
			}
		}
		return $o_MrpRecetaDetalleFN;
				
	}
	
}